﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class Area : Entity
    {
        private Property<int> upAreaId = new Property<int>();
        private Property<string> title = new Property<string>();
        private Property<int> huamuZhiXiangNewsCount = new Property<int>();
        private Property<int> huamuShichangNewsCount = new Property<int>();
        private Property<int> huamuHuizhanNewsCount = new Property<int>();
        private Property<int> newsCount = new Property<int>();

        public Property<int> UpAreaId
        {
            get { return upAreaId; }
            set { upAreaId = value; }
        }
        public Property<int> HuamuZhiXiangNewsCount
        {
            get { return huamuZhiXiangNewsCount; }
            set { huamuZhiXiangNewsCount = value; }
        }
        public Property<int> HuamuShichangNewsCount
        {
            get { return huamuShichangNewsCount; }
            set { huamuShichangNewsCount = value; }
        }
        public Property<int> HuamuHuizhanNewsCount
        {
            get { return huamuHuizhanNewsCount; }
            set { huamuHuizhanNewsCount = value; }
        }
        public Property<string> Title
        {
            get { return title; }
            set { title = value; }
        }
        public Property<int> NewsCount
        {
            get { return newsCount; }
            set { newsCount = value; }
        }
    }
}